import { ModuleWithProviders } from '@angular/core'
import { Routes, RouterModule } from '@angular/router'

export const routes: Routes = [
  {
    path: 'list',
    loadChildren: 'app/+weixin/+contract/contract.module#ContractModule'
  },
  {
    path: 'pay',
    loadChildren: 'app/+weixin/+pay/pay.module#PayModule'
  },
  {
    path: 'wx-pay',
    loadChildren: 'app/+weixin/+wx-pay/wx-pay.module#WXPayModule'
  },
  {
    path: 'wx-pay2',
    loadChildren: 'app/+weixin/+wx-pay2/wx-pay2.module#WXPay2Module'
  },
  {
    path: 'Invoice',
    loadChildren: 'app/+weixin/+Invoice/Invoice.module#InvoiceModule'
  },
  {
    path: 'wx-pay-yuntian',
    loadChildren: 'app/+weixin/+wx-pay-yuntian/wx-pay-yuntian.module#WXPayYunTianModule'
  },
  {
    path: 'Invoice/invoice-apply-page',
    loadChildren: 'app/+weixin/+invoice-apply-page/invoice-apply-page.module#InvoiceApplyPageModule'
  }
]

export const routing = RouterModule.forChild(routes)
